package com.zhanghe.wzq.command.request;

import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.command.CommandType;
import lombok.Data;

/**
 * OneStepRequest
 *
 * @author Clevo
 * @date 2019/1/6
 */
@Data
public class OneStepRequest extends Packet {

    int x;

    int y;

    @Override
    public Byte getCommand() {
        return CommandType.ONE_STEP_REQUEST;
    }
    @Override
    public boolean needSerilize() {
        return true;
    }
}
